<h1>Mostrar Persona <%= @security_person.name %></h1>
<p id="notice"><%= notice %></p>
<div class="shadow">
<fieldset id="agrupacion" >
<legend>Datos Básicos </legend>
<% if ! @security_person.name.blank? %>
<p>
  <b>Nombre:</b>
  <%= @security_person.name %>
</p>
<%end%>
<% if ! @security_person.lastname.blank? %>
<p>
  <b>Apellidos:</b>
  <%= @security_person.lastname %>
</p>
<%end%>
<% if ! @security_person.address.blank? %>
<p>
  <b>Dirección:</b>
  <%= @security_person.address %>
</p>
<%end%>
<% if ! @security_person.phone.blank? %>
<p>
  <b>Teléfono:</b>
  <%= @security_person.phone %>
</p>
<%end%>
<% if ! @security_person.email.blank? %>
<p>
  <b>Email:</b>
  <A HREF="mailto:<%= @security_person.email %>"><%= @security_person.email %></A>
  <%#= @security_person.email %>
</p>
<%end%>
</fieldset>
</div>
<br/><% if (user_signed_in? && ([2].include?(current_user.role))) %>

<%= link_to 'Editar', edit_security_person_path(@security_person) %> |
<%end%>
<%= link_to 'Regresar', security_people_path %>
